package com.panshi.api;


import com.panshi.util.CommonResult;
import com.panshi.bean.CollectionVO;
import com.panshi.bean.PageSizeVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;
@FeignClient(value = "zhangkai")
@Api("收藏接口")
public interface CollectionPoth {


    @PostMapping("/collQy")
    @ResponseBody
    public List<CollectionVO> findCoQuery(@RequestBody PageSizeVO pageSizeVO);

    @GetMapping("/collDe/{cid}")
    @ResponseBody
    public CommonResult<String> deleteCo(@PathVariable int cid);
}
